﻿<Window
    x:Class="LocationSampleWPF.MainWindow"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    Title="Location Sensor Demo - Only works if a location sensor is present"
    Height="350"
    Width="525">
    <Grid>
        <StackPanel
            VerticalAlignment="Bottom"
            HorizontalAlignment="Left"
            Orientation="Horizontal">
            <Button
                Content="On"
                x:Name="_on"
                Click="_on_Click" />
            <Button
                Content="Off"
                x:Name="_off"
                Click="_off_Click" />
        </StackPanel>
        <StackPanel
            VerticalAlignment="Top"
            HorizontalAlignment="Left"
            Orientation="Vertical">
            <TextBlock
                Text="Status" />
            <TextBlock
                x:Name="_status" />
            <TextBlock
                Text="Longitude" />
            <TextBlock
                x:Name="_longitude" />
            <TextBlock
                Text="Latitude" />
            <TextBlock
                x:Name="_latitude" />
            <TextBlock
                Text="Altitutde" />
            <TextBlock
                x:Name="_altitude" />
            <TextBlock
                Text="Course" />
            <TextBlock
                x:Name="_course" />
        </StackPanel>
    </Grid>
</Window>
